package com.ft.scan.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author: 幻屹
 * @time: 2024/4/28
 * @destination: 微信登录
 */

@Getter
@Setter
@ApiModel(description = "请求对象,包含code和头像")
public class WechatRequestDTO {
    @ApiModelProperty(name = "code", value = "wx.login()即可获取", required = true)
    private String code;

    @ApiModelProperty(value = "Base64编码的头像", example = "iVBORw0KGg....", required = true)
    private String avatarData;

    @ApiModelProperty(value = "昵称", example = "幻屹", required = true)
    private String nickName;

}
